<?php
define('IN_DOUCO', true);
require (dirname(__FILE__) . '/include/init.php');
// rec操作项的初始化
$rec = $check->is_rec($_REQUEST['rec']) ? $_REQUEST['rec'] : 'default';
if($rec == 'del'){
    if($_REQUEST['img']){
        $img = $_REQUEST['img'];
        $dou->del_image($img);
        echo 'success';
    }else{
        echo '';
    }
}